#include<iostream>
using namespace std;

int Add(int x, int y)
{
	cout << "Add(int x, int y)" << endl;
	return x + y;
}
//void Add(int x, int y)
//{
//	cout << "Add(int x, int y)" << endl;
//}
double Add(double x, double y)
{
	cout << "Add(double x, double y)" << endl;
	return x + y;
}

void Func()
{
	cout << "Func()" << endl;
}
void Func(int x)
{
	cout << "Func(int x)" << endl;
}
void Func(double x)
{
	cout << "Func(double x)" << endl;
}

void Func(int x, double y)
{
	cout << "Func(int x, double y)" << endl;
}
void Func(double y, int x)
{
	cout << "Func(double y, int x)" << endl;
}

int main()
{
	cout << Add(10, 20) << endl;
	cout << Add(10.5, 20.7) << endl;

	Func();
	Func(30);
	Func(50.5);
	Func(40, 50.5);
	Func(50.5, 40);

	return 0;
}